﻿namespace ConsoleApp3
{
    class class1
    {
        static int i = getNum();
        int j = getNum();

        static int num = 1;

        static int getNum()
        {
            return num;
        }

        static void Main(string[] args)
        {
            Console.WriteLine("i={0}", i);
            Console.WriteLine("j={0}", new class1().j);
            Console.Read();
        }
    }
}